package com.dh.service;

import com.dh.entity.Notice;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

/**
 * 公告接口
 */
public interface NoticeService {


    Page<Notice> page(PageRequest pageRequest);

    void create(Notice notice);

    void update(Notice notice);

    Notice get(Long noticeId);


    void delete(Long noticeId);

    Notice findByNoAndDeleted(String no, byte deleted);


}
